package com.platform.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.platform.dao.OrderCommentPictureDao;
import com.platform.entity.OrderCommentPictureEntity;
import com.platform.service.OrderCommentPictureService;

/**
 * 订单评论图片表Service实现类
 *
 * @author czj
 * @email 729618941@qq.com
 * @date 2018-11-22 10:46:10
 */
@Service("orderCommentPictureService")
public class OrderCommentPictureServiceImpl implements OrderCommentPictureService {
    @Autowired
    private OrderCommentPictureDao orderCommentPictureDao;

    @Override
    public OrderCommentPictureEntity queryObject(Integer id) {
        return orderCommentPictureDao.queryObject(id);
    }

    @Override
    public List<OrderCommentPictureEntity> queryList(Map<String, Object> map) {
        return orderCommentPictureDao.queryList(map);
    }

    @Override
    public int queryTotal(Map<String, Object> map) {
        return orderCommentPictureDao.queryTotal(map);
    }

    @Override
    public int save(OrderCommentPictureEntity orderCommentPicture) {
        return orderCommentPictureDao.save(orderCommentPicture);
    }

    @Override
    public int update(OrderCommentPictureEntity orderCommentPicture) {
        return orderCommentPictureDao.update(orderCommentPicture);
    }

    @Override
    public int delete(Integer id) {
        return orderCommentPictureDao.delete(id);
    }

    @Override
    public int deleteBatch(Integer[]ids) {
        return orderCommentPictureDao.deleteBatch(ids);
    }
}
